﻿using Polaris.Domain.Model.DtoWebSite.Comments.Request;
using Polaris.Domain.Model.DtoWebSite.Comments.Response;
using Polaris.Domain.Model.Entity.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Polaris.Domain.Interfaces.WebSite
{
    public interface IWebComments
    {
        /// <summary>
        /// 文章评论
        /// </summary>
        /// <param name="create"></param>
        /// <returns></returns>
        Task<CommentsInfoResponse> AuditComments(CreateCommentsRequest create);

        /// <summary>
        /// 获取文章下的评论
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<PaginationInfo<CommentsInfoResponse>> GetCommentsByArticle(CommentsPagedRequest pageInfo);
    }
}
